<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    <div class="media-body">
        <p>{{ user.name }}你好！以下是新通知：</p>
    <h4 class="media-heading"><strong>{{ info.title }}</strong><small>[{{ info.createdate}}]</small>
        <a class="btn btn-sm btn-warning" style="float: right" href="http://127.0.0.1:5000/read?infoid={{ info.id }}&isread=False">查看</a>
    </h4>
    <p style="color: darkgray">{{ info.content[:20]|striptags}}...</p>
    </div>